//
//  Teacher.m
//  内存作业
//
//  Created by dllo on 15/12/10.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "Teacher.h"
#import "Student.h"
#import "OurClass.h"
@implementation Teacher

- (void)exam:(NSString *)examName{
    
    for (Student *stu in self.ourclass.students) {
        float score = arc4random() % 100;
        [stu.scorelist setObject:@(score) forKey:examName];
    }
}





@end
